package com.surekam.hometown.rest.dto;

import java.util.List;

public class ForumDTO {
	private int fid;
	private int fup;
	private String name;
	private String type;
	private List<ForumDTO> children;

	public ForumDTO() {
	}

	public ForumDTO(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public int getFid() {
		return fid;
	}

	public void setFid(int fid) {
		this.fid = fid;
	}

	public int getFup() {
		return fup;
	}

	public void setFup(int fup) {
		this.fup = fup;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<ForumDTO> getChildren() {
		return children;
	}

	public void setChildren(List<ForumDTO> children) {
		this.children = children;
	}

	public String toString() {
		return this.name + this.children;
	}

}
